var eliminate = {
    eliminateData: {},
    layerIndex: -1
}


eliminate.change = function (){
    var params = {};

    var ajax = new $ax("/api/sdc/eliminate/add", function (data) {
        var arr = new Array('chenggong',$('#reason').val())
        layer.msg("手动纠正成功!");
        window.parent.postMessage(arr,'*');
    }, function (data) {
        window.parent.postMessage('shibai','*');
        layer.error("手动纠正失败!");
    });
    params.xcode = $('#episodeId').val();
    params.qcId = $('#qcId').val();
    params.docId = $('#docId').val();
    params.reason = $('#reason').val();
    params.createTime = new Date().toLocaleString();
    ajax.set(params);
    ajax.start();


};
